package edu.ustb.product;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @author ShiZhe
 * @create 2021-03-24 17:34
 */
@SpringBootApplication
@EntityScan("edu.ustb.product.entity")
//激活eurekaClient
@EnableEurekaClient
//@EnableDiscoveryClient
public class ProductApplication {
    public static void main(String[] args) {
        SpringApplication.run(ProductApplication.class,args);
    }
}
